package com.shop.mapper;

import com.shop.model.Address;

import java.util.List;

/**
 * author 何鸿鹰
 * date 2025/5/14 22:41
 * ClassName com.shop.mapper
 *
 * @version 1.0
 */
public interface AddressMapper {

    Address selectById(Integer id);
    List<Address> selectByUserId(Integer userId);

    void insert(Address address);

    void update(Address address);

    void deleteById(Integer id);
}
